package com.sgb.kjwl.view.ui.adapter.power;

import android.content.Context;

import com.sgb.kjwl.BR;
import com.sgb.kjwl.R;
import com.sgb.kjwl.model.entity.PowerAchievedEntity;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

public class PowerAchievedAdapter extends BaseRecycleAdapter<PowerAchievedEntity> {
    public PowerAchievedAdapter(Context context, List<PowerAchievedEntity> datas) {
        super(context, R.layout.item_power_achieved, datas);
    }

    @Override
    public void convert(ItemViewHolder holder, PowerAchievedEntity powerAchievedEntity) {
        holder.setBinding(BR.viewModel, powerAchievedEntity);
    }
}
